#ifndef EXHIBITION_STATUSMANAGER_H
#define EXHIBITION_STATUSMANAGER_H

#include "qlibc/QData.h"
#include <vector>
#include <thread>
#include <mutex>

using namespace std;

class StatusManager{
private:
    static StatusManager* Instance;
    qlibc::QData statusData;
    StatusManager(){}

public:
    static StatusManager* getInstance();

    void updateStatusList();

    qlibc::QData getStatusDdata();

private:
    //列表融合
    void mergeList(Json::Value& value, qlibc::QData &totalList);

    //添加来源标识
    qlibc::QData addMacSource(qlibc::QData& list, string sourceTag);
};


#endif


